/******************************************************************************
* SVN­Version­Information:
* ­­­­­­­­­­­­­­­­­­­­­­­­---------------------
* $LastChangedRevision: 6 $
* $LastChangedBy: c.a.duevel $
* $LastChangedDate: 2009-08-26 15:12:37 +0000 (Wed, 26 Aug 2009) $
* $HeadURL: http://robofight.googlecode.com/svn/trunk/ClientJavaFX/src/de/hft_stuttgart/robofight/client/javafx/Constants.fx $
******************************************************************************/
package de.hft_stuttgart.robofight.client.javafx;

import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import com.sun.javafx.scene.control.caspian.TextBoxSkin;
import com.sun.javafx.scene.control.caspian.ButtonSkin;
import com.sun.javafx.scene.control.caspian.ListViewSkin;

/**
 * Constants
 * @author ralf.dauenhauer@gmx.de, michael.rieker@web.de
 */

public def SCENE_HEIGHT = 600;
public def SCENE_WIDTH  = 800;
public def STAGE_TITLE = "robofight";
public def SCENE_BACKGROUND_COLOR = Color.BLACK;
public def FONT_TEXTFIELD = Font {size: 13 name:"Tahoma"};
public def FONT_BUTTON = Font {size: 17 name:"Tahoma" embolden: true};
public def FONT_CHAT = Font {size: 11 name:"Tahoma" };
public def FONT_TOOLTIP = Font {size: 13 name:"Tahoma" };
public def colors: Color[]  = [ Color.RED, Color.BLUE, Color.GREEN, Color.YELLOW ];


public function getTextBoxSkin() : TextBoxSkin {
    return TextBoxSkin {
        backgroundFill: Color.rgb(11, 17, 16)
        borderFill: Color.rgb(11, 17, 16)
        caretFill: Color.WHITE
        focusFill: Color.rgb(11, 17, 16)
        highlightFill: Color.rgb(11, 17, 16)
        promptTextFill: Color.rgb(11, 17, 16)
        selectedTextFill: Color.BLUE
        shadowFill: Color.rgb(11, 17, 16)
        textFill: Color.WHITE
        cornerRadius: 15
    };
}


public function getButtonSkin() : ButtonSkin {
    return ButtonSkin {
                        borderFill: Color.BLACK
                        cornerRadius: 20
                        shadowFill: Color.BLACK
                        textFill: Color.rgb(40,40,40)
                    };
}

public function getListViewSkin() : ListViewSkin {
    return ListViewSkin {
         alternateFill: Color.rgb(10,10,10)
         backgroundFill: Color.BLACK
    };
}
